package org.example.DesignPatterns.State;

/**
 * @description:
 * @author: farprt
 * @create: 2022-09-23 18:31
 **/
public class Client {

    public static void main(String[] args) {
        TrafficLight trafficLight=new TrafficLight();
        trafficLight.switchToYellow();
        trafficLight.switchToGreen();

    }
}